﻿Public Class Util

    ''' <summary>
    ''' Returns current time in milliseconds. 
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Shared Function getTime() As Long
        Dim t As TimeSpan
        Dim timestamp As Long

        t = (DateTime.UtcNow - New DateTime(1970, 1, 1))
        timestamp = Convert.ToInt64(t.TotalMilliseconds)
        Return timestamp

    End Function




End Class
